This event occurs after the new role assignment has been added to the Assign Roles dialog.
Syntax
Private Sub AMUIExtension_AfterAddUserRole(
ByVal CurrentObject As Object,
ByVal UserOrUsergroup As String,
ByVal UserRole As AmOm.IAMUserRole)
Name | Description |
---|---|
CurrentObject |
The enclosure for which assignments are changed (AMFolder object or AMWorkPackage object) |
UserOrUsergroup |
The user or group to which a role is assigned |
UserRole |
The UserRole that is assigned |
Remarks
After this event the role assignment is visible in the Assign Roles dialog. But it will not be stored until the user clicks OK.
The new assignment will actually be applied after the CloseAssignRoles event.